package cn.triedblog;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;

@EnableConfigServer // 配置服务器
@SpringBootApplication
@EnableDiscoveryClient // 注册到服务中心
public class BlogConfigCenterApplication {

	public static void main(String[] args) {
		SpringApplication.run(BlogConfigCenterApplication.class, args);
	}
}
